﻿using System;

class Call
{
    public DateTime DateTime{get;set;}
    public int Duration {get;set;}
    public int DialedPhone{get;set;}

    public Call(int dialedPhone, int duration)
    {
        this.DateTime = DateTime.Now;
        this.Duration = duration;
        this.DialedPhone = dialedPhone;
    }
    public Call(int dialedPhone, int duration, DateTime date)
    {
        this.DateTime = date;
        this.Duration = duration;
        this.DialedPhone = dialedPhone;
    }

}
